![]() |
FSpMakeFSRef |
||||
Header: | Files.h | Carbon status: | Supported | |
Converts an FSSpec to an FSRef.
OSErr FSpMakeFSRef ( const FSSpec *source, FSRef *newRef );
The FSSpec which you wish to convert. This parameter must contain a valid FSSpec for an exisiting file or directory; if not, the call will return fnfErr.
On return, a pointer to the FSRef which the File Manager has constructed for the file or directory specified in the given FSSpec.
A result code.
To obtain an FSSpec from an FSRef, use the FSGetCatalogInfo call.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 9, or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)